package com.aliwo.domain;


import java.io.Serializable;

/**
 * @author:xuyayuan
 * @date:2021/7/18 19:49
 * @description:视频实体
 */
@SuppressWarnings("all")
public class Video implements Serializable {

    private Integer id;
    /**
     * 视频标题
     */
    private String title;
    /**
     * 概述
     */
    private String summary;
    /**
     * 封面图
     */
    private String coverImg;
    /**
     * 观看数
     */
    private Integer viewNum;
    /**
     * 价格,分
     */
    private Integer price;
    /**
     * 创建时间
     */
    private java.sql.Timestamp createTime;
    /**
     * 0表示未上线，1表示上线
     */
    private Integer online;
    /**
     * 默认8.7，最高10分
     */
    private double point;

    /**
     * 是否删除
     */
    private Boolean deleted = Boolean.FALSE;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }


    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }


    public String getSummary() {
        return summary;
    }

    public void setSummary(String summary) {
        this.summary = summary;
    }


    public String getCoverImg() {
        return coverImg;
    }

    public void setCoverImg(String coverImg) {
        this.coverImg = coverImg;
    }


    public Integer getViewNum() {
        return viewNum;
    }

    public void setViewNum(Integer viewNum) {
        this.viewNum = viewNum;
    }


    public Integer getPrice() {
        return price;
    }

    public void setPrice(Integer price) {
        this.price = price;
    }


    public java.sql.Timestamp getCreateTime() {
        return createTime;
    }

    public void setCreateTime(java.sql.Timestamp createTime) {
        this.createTime = createTime;
    }


    public Integer getOnline() {
        return online;
    }

    public void setOnline(Integer online) {
        this.online = online;
    }


    public double getPoint() {
        return point;
    }

    public void setPoint(double point) {
        this.point = point;
    }

    public Boolean getDeleted() {
        return deleted;
    }

    public void setDeleted(Boolean deleted) {
        this.deleted = deleted;
    }
}
